package com.cskaoyan.vo;

import com.cskaoyan.bean.FootPrint;

import java.util.List;

public class FootPrintVO {


    /**
     * total : 4
     * items : [{"id":12,"userId":2,"goodsId":1051001,"addTime":"2020-04-27 22:00:32","updateTime":"2020-04-27 22:00:32","deleted":false},{"id":11,"userId":2,"goodsId":1110019,"addTime":"2020-04-27 22:00:06","updateTime":"2020-04-27 22:00:06","deleted":false},{"id":10,"userId":2,"goodsId":1011004,"addTime":"2020-04-27 21:59:58","updateTime":"2020-04-27 21:59:58","deleted":false},{"id":9,"userId":2,"goodsId":1109008,"addTime":"2020-04-27 21:59:46","updateTime":"2020-04-27 21:59:46","deleted":false}]
     */

    private long total;
//    private List<ItemsBean> items;


    private List<FootPrint> items;

    public void setItems(List<FootPrint> items) {
        this.items = items;
    }

    public List<FootPrint> getItems() {
        return items;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

//    public List<ItemsBean> getItems() {
//        return items;
//    }
//
//    public void setItems(List<ItemsBean> items) {
//        this.items = items;
//    }

    public static class ItemsBean {
        /**
         * id : 12
         * userId : 2
         * goodsId : 1051001
         * addTime : 2020-04-27 22:00:32
         * updateTime : 2020-04-27 22:00:32
         * deleted : false
         */

        private int id;
        private int userId;
        private int goodsId;
        private String addTime;
        private String updateTime;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }
}
